﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using System.Diagnostics;

namespace RunUOGenerator
{
    static class Program
    {
        public static string ModuleLocation = "Modules";
        public static string ExecutionLocation = "";
        public static ArrayList Modules = new ArrayList();

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // Create the executing location variable.
            ExecutionLocation = Assembly.GetExecutingAssembly().Location;
            ExecutionLocation = ExecutionLocation.Substring(0, ExecutionLocation.LastIndexOf("\\"));

            // Create the application.
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new frmMain());
            Application.Run(new frmStartup());
            //Application.Run(new HueChartControl());
        }
    }
}
